package simple.utils.data;

import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 * User: rehak
 * Date: 10/14/13
 * Time: 9:07 AM
 * To change this template use File | Settings | File Templates.
 */
public interface KeyValue<KEY, VALUE> {

    public VALUE get(KEY key) throws IOException;

    public void put(KEY key, VALUE value) throws IOException;

    public void delete(KEY key) throws IOException;

    public long records() throws IOException;

}
